<!doctype html>
<!--[if lt IE 9]><html class="ie"><![endif]-->
<!--[if gte IE 9]><!--><html><!--<![endif]-->
    <head>
        <meta charset="utf-8"/>
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
        <meta name="viewport" content="width=device-width, initial-scale=1"/>

        <title></title>

        <title><?php $_->put('title') ?></title>
        <link rel="stylesheet" media="all" href="/media/style.css"/>
        <link rel="stylesheet" media="all" href="/media/admin.css"/>

        <!--[if lt IE 9]>
                <script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
    </head>

    <body>
        <header>
            <a href="<?php echo $urlTo('home') ?>" title="Go to homepage">
                <span id="logo">&laquo; <?php put($blog->getName()) ?></span>
            </a>
            <a href="<?php echo $urlTo('logout') ?>" title="<?php _e('Log out') ?>">
                <?php _e('Log out') ?></a>
        </header>
        <?php $_->putBody() ?>
        <footer>
            <?php if (!$user->isLoggedIn()): ?>
            <a href="<?php echo $urlTo('login') ?>"><?php _e('Log in') ?></a>
            <?php endif ?>
            <?php _e('Proudly powered by') ?>
            <a href="http://mublog.aspyct.org" title="<?php _e('Visit Mublog website') ?>">Mublog</a></footer>
    </body>
</html>